package com.ruoyi.biz.strategy;

import com.ruoyi.biz.domain.BizGoodsCategory;
import com.ruoyi.biz.domain.dto.CaculateGoodsDto;
import com.ruoyi.biz.domain.vo.CaculateGoodsVo;

import java.math.BigDecimal;

/**
 * @author tds
 * @version 1.0.0
 * @Company
 * @ClassName IGoodsCategoryCaculateStrategy
 * @Description 商品类别计算策略
 * @Date 2022-11-10 22:55
 */
public interface IGoodsCategoryCaculateStrategy {

    /**
     * 计算商品类别价格信息
     *
     * @param caculateGoodsDto 商品类别价格信息
     * @param goodsCategory 商品类别信息
     * @return
     */
    CaculateGoodsVo caculate(CaculateGoodsDto caculateGoodsDto, BizGoodsCategory goodsCategory);

    /**
     * 获取计算类型
     *
     * @return
     */
    String getType();


}
